# encoding: utf-8

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

def response_begin(response):
	## 如果charset=utf8,response就会自动执行编码转换,否则当作字节流发送
	response.headers['Content-Type']='text/html; charset='
	response.out.write('''
	<html>
		<head>
			<title>奇幻之岛</title>
			<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>
			<link rel="shortcut icon" href="images/favicon.ico" type="image/ico" />	
		</head>
		<body>
	''')

def response_end(response):
	response.out.write('''
		</body>
	</html>
	''')

